package com.yitongmao.bean;

/*
* 作者：梁伟航 on 2017/8/12 19:55
* 类的用途：
*/
public class SuccessBean {


    /**
     * result : {"state":"1","code":"OK","url":null,"obj":null,"isRollBack":null,"message":"查询成功"}
     * comAccount : {"id":1,"companyName":"北京亿通贸有限公司","account":"111122220000111","phone":null,"bank":null,"openingBank":"农业银行股份有限公司北京XXX支行","unionLine":"111100008888","payInstruction":"订单支付时间为六个小时，期间没有支付，将自动关闭交易。","remittanceDesc":"汇付识别码已发送手机185****4732须填写电汇凭证至【汇款用途】","operatingPhone":"18519128255"}
     * diff : 21599395
     * payInfo : {"id":243,"code":null,"codePre":null,"codeSuf":null,"userId":7,"payMode":"TRANSFER","payModeName":"公司转账","payType":"ALL","remittanceCode":"DUMmHfSl","remittanceDesc":null,"balancePrice":null,"addPrice":3000,"totalPrice":3000,"remark":null,"state":null,"backState":null,"instrument":null,"transactionIds":"278","type":null,"createTime":"2017-08-12 19:54:17","finishTime":null,"version":0,"addressId":0,"shoppingIds":null,"keys":null,"leaveMessage":null,"goodsType":null,"invoiceType":null,"invoiceName":null,"identifyNumber":null,"instruction":null,"phone":null,"companyName":null,"orderCodes":null}
     */

    public ResultBean result;
    public ComAccountBean comAccount;
    public int diff;
    public PayInfoBean payInfo;

    public static class ResultBean {
        /**
         * state : 1
         * code : OK
         * url : null
         * obj : null
         * isRollBack : null
         * message : 查询成功
         */

        public String state;
        public String code;
        public Object url;
        public Object obj;
        public Object isRollBack;
        public String message;
    }

    public static class ComAccountBean {
        /**
         * id : 1
         * companyName : 北京亿通贸有限公司
         * account : 111122220000111
         * phone : null
         * bank : null
         * openingBank : 农业银行股份有限公司北京XXX支行
         * unionLine : 111100008888
         * payInstruction : 订单支付时间为六个小时，期间没有支付，将自动关闭交易。
         * remittanceDesc : 汇付识别码已发送手机185****4732须填写电汇凭证至【汇款用途】
         * operatingPhone : 18519128255
         */

        public int id;
        public String companyName;
        public String account;
        public Object phone;
        public Object bank;
        public String openingBank;
        public String unionLine;
        public String payInstruction;
        public String remittanceDesc;
        public String operatingPhone;
    }

    public static class PayInfoBean {
        /**
         * id : 243
         * code : null
         * codePre : null
         * codeSuf : null
         * userId : 7
         * payMode : TRANSFER
         * payModeName : 公司转账
         * payType : ALL
         * remittanceCode : DUMmHfSl
         * remittanceDesc : null
         * balancePrice : null
         * addPrice : 3000.0
         * totalPrice : 3000.0
         * remark : null
         * state : null
         * backState : null
         * instrument : null
         * transactionIds : 278
         * type : null
         * createTime : 2017-08-12 19:54:17
         * finishTime : null
         * version : 0
         * addressId : 0
         * shoppingIds : null
         * keys : null
         * leaveMessage : null
         * goodsType : null
         * invoiceType : null
         * invoiceName : null
         * identifyNumber : null
         * instruction : null
         * phone : null
         * companyName : null
         * orderCodes : null
         */

        public int id;
        public Object code;
        public Object codePre;
        public Object codeSuf;
        public int userId;
        public String payMode;
        public String payModeName;
        public String payType;
        public String remittanceCode;
        public Object remittanceDesc;
        public Object balancePrice;
        public double addPrice;
        public double totalPrice;
        public Object remark;
        public Object state;
        public Object backState;
        public Object instrument;
        public String transactionIds;
        public Object type;
        public String createTime;
        public Object finishTime;
        public int version;
        public int addressId;
        public Object shoppingIds;
        public Object keys;
        public Object leaveMessage;
        public Object goodsType;
        public Object invoiceType;
        public Object invoiceName;
        public Object identifyNumber;
        public Object instruction;
        public Object phone;
        public Object companyName;
        public Object orderCodes;
    }
}
